#ifndef DBSETWINDOW_H
#define DBSETWINDOW_H

#include <QWidget>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlError>
#include <QSqlRecord>
#include <QHostInfo>
#include <QHostAddress>
namespace Ui {
class DBSetWindow;
}

class DBSetWindow : public QWidget
{
    Q_OBJECT

public:
    explicit DBSetWindow(QWidget *parent = 0);
    ~DBSetWindow();
        void initWindow();

private slots:
        void on_lookButton_clicked();

        void on_deriverComboBox_currentIndexChanged(const QString &arg1);

        void on_openButton_clicked();

private:
    Ui::DBSetWindow *ui;
    QSqlDatabase db;
     QString filename;
};

#endif // DBSETWINDOW_H
